﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Template/Site_Student.Master" AutoEventWireup="true" CodeBehind="loginpswdupdate.aspx.cs" Inherits="RegisterationSystem.Space_Student.loginpswdupdate" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <link href="../Styles/style.css" rel="stylesheet" type="text/css"/>
    <script src="../Framework/jquery.min.js" type="text/javascript"></script>
    <asp:Literal ID="cpJS2" runat="server"></asp:Literal>
    <script type="text/javascript" language="javascript">
        //修改密码
        function submitForm() {
            //验证必填项
            var ymm = $("#<%= OldAccountPswd.ClientID %>").val();
            var xmm = $("#<%= NewAccountPswd.ClientID %>").val();
            var xxmm =$("#<%= ReNewAccountPswd.ClientID %>").val();
            if (ymm == "" || xmm == "" || xxmm == "") {
                alert("请输入完整信息!");
                return false;
            }
            if (xmm != xxmm) {
                alert("两次新密码不一样!");
                return false;
            }
            return true;
        }
    </script>
    <style type="text/css">
        .style1
        {
            width: 226px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">  
<div class="J_con2">
                  <div style=" width:946px; height:650px; overflow:hidden; margin:0px auto; background:url(../images/jzbj.jpg) no-repeat center bottom;">       
                   <div id="plaupdpwd" style="padding-top:6.5px;padding-left:6.5px;">
                   <table align="center" style="border:1px dashed #027344; height:185px; width:32%; margin-top:45px;">
                   <tr>
                   <td>
                   用&nbsp;&nbsp;户&nbsp;&nbsp;名：
                   </td>
                   <td align="left" class="style1"> <asp:Label ID="lblname" runat="server" Text="Label" ></asp:Label></td>
                   </tr>
                      <tr>
                   <td>
                   原&nbsp;&nbsp;密&nbsp;&nbsp;码：
                   </td>
                   <td align="left" class="style1"><input type="Password" id="OldAccountPswd" maxlength="16" runat="server"
                    style="width: 170px; " /></td>
                   </tr>
                      <tr>
                   <td>
                 新&nbsp;&nbsp;密&nbsp;&nbsp;码：
                   </td>
                   <td align="left" class="style1"> <input id="NewAccountPswd" type="Password" runat="server" style="width: 170px;" maxlength="12" class="easyui-validatebox c_txt"/></td>
                   </tr>
                      <tr>
                   <td>
                 确认新密码：
                   </td>
                   <td align="left" class="style1"> <input type="Password" id="ReNewAccountPswd" runat="server" style="width: 170px;" maxlength="12"
                    class="c_txt"/></td>
                   </tr>
                   <tr>
                   
                   <td align="center" colspan="2"> <asp:Button ID="Button2" runat="server" Text="修改"  CssClass="anniu66"
                    OnClientClick="return submitForm()" onclick="Button2_Click"/></td>
                   </tr>
                   </table>
<%--        <ul>
            
              <li>
            
            </li>
           <li>&nbsp;</li>
            <li>
                </li>
            <li>&nbsp;</li>
            <li>
               </li>
            <li>&nbsp;</li>
            <li>
               </li>
            <li>&nbsp;</li>
            <li style="text-align: center">
               
            </li>
        </ul>--%>
    </div>
                  </div> 
    </div>
</asp:Content>
